package com.qf.shoppinggateway;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration;
import com.baomidou.mybatisplus.autoconfigure.MybatisPlusLanguageDriverAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


@EnableDiscoveryClient
// todo 取消数据库相关配置
@SpringBootApplication(
        exclude = {DataSourceAutoConfiguration.class,
                MybatisPlusAutoConfiguration.class,
                MybatisPlusLanguageDriverAutoConfiguration.class,
                DruidDataSourceAutoConfigure.class})
public class ShoppingGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShoppingGatewayApplication.class, args);
    }

}

